package com.example.springbootwl08.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author 宗雨
 * @create 2024-02-27 11:08
 * project_name:ssm
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sp_order")
public class Order {
    //主键id
    @TableId("order_id")
    private Integer orderId;
    //下单会员id
    private Integer userId;
    //订单编号
    private String orderNumber;
    //订单总金额
    private BigDecimal orderPrice;
    //支付方式 0未支付  1支付宝  2微信 3银行卡
    private Object orderPay;
    //订单是否已发货
    private Object isSend;
    //支付宝交易流水号码
    private String tradeNo;
    //发票抬头个人公司
    private Object orderFapiaoTitle;
    //公司名称
    private String orderFapiaoCompany;
    //发票内容
    private String orderFapiaoContent;
    //consignee收货人地址
    private String consigneeAddr;
    //订单状态 0未付款 1已付款
    private Object payStatus;
    //记录生成时间
    private Integer createTime;
    //记录修改时间
    private Integer updateTime;


}
